Optimal. Leaf size=267 \[ -\frac {2 d^2 (B d-A e) (c d-b e)^2 (d+e x)^{9/2}}{9 e^6}+\frac {2 d (c d-b e) (B d (5 c d-3 b e)-2 A e (2 c d-b e)) (d+e x)^{11/2}}{11 e^6}+\frac {2 \left (A e \left (6 c^2 d^2-6 b c d e+b^2 e^2\right )-B d \left (10 c^2 d^2-12 b c d e+3 b^2 e^2\right )\right ) (d+e x)^{13/2}}{13 e^6}-\frac {2 \left (2 A c e (2 c d-b e)-B \left (10 c^2 d^2-8 b c d e+b^2 e^2\right )\right ) (d+e x)^{15/2}}{15 e^6}-\frac {2 c (5 B c d-2 b B e-A c e) (d+e x)^{17/2}}{17 e^6}+\frac {2 B c^2 (d+e x)^{19/2}}{19 e^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 267, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {785}
\begin {gather*} -\frac {2 (d+e x)^{15/2} \left (2 A c e (2 c d-b e)-B \left (b^2 e^2-8 b c d e+10 c^2 d^2\right )\right )}{15 e^6}+\frac {2 (d+e x)^{13/2} \left (A e \left (b^2 e^2-6 b c d e+6 c^2 d^2\right )-B d \left (3 b^2 e^2-12 b c d e+10 c^2 d^2\right )\right )}{13 e^6}-\frac {2 d^2 (d+e x)^{9/2} (B d-A e) (c d-b e)^2}{9 e^6}-\frac {2 c (d+e x)^{17/2} (-A c e-2 b B e+5 B c d)}{17 e^6}+\frac {2 d (d+e x)^{11/2} (c d-b e) (B d (5 c d-3 b e)-2 A e (2 c d-b e))}{11 e^6}+\frac {2 B c^2 (d+e x)^{19/2}}{19 e^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 785
Rubi steps
\begin {align*} \int (A+B x) (d+e x)^{7/2} \left (b x+c x^2\right )^2 \, dx &=\int \left (-\frac {d^2 (B d-A e) (c d-b e)^2 (d+e x)^{7/2}}{e^5}+\frac {d (c d-b e) (B d (5 c d-3 b e)-2 A e (2 c d-b e)) (d+e x)^{9/2}}{e^5}+\frac {\left (A e \left (6 c^2 d^2-6 b c d e+b^2 e^2\right )-B d \left (10 c^2 d^2-12 b c d e+3 b^2 e^2\right )\right ) (d+e x)^{11/2}}{e^5}+\frac {\left (-2 A c e (2 c d-b e)+B \left (10 c^2 d^2-8 b c d e+b^2 e^2\right )\right ) (d+e x)^{13/2}}{e^5}+\frac {c (-5 B c d+2 b B e+A c e) (d+e x)^{15/2}}{e^5}+\frac {B c^2 (d+e x)^{17/2}}{e^5}\right ) \, dx\\ &=-\frac {2 d^2 (B d-A e) (c d-b e)^2 (d+e x)^{9/2}}{9 e^6}+\frac {2 d (c d-b e) (B d (5 c d-3 b e)-2 A e (2 c d-b e)) (d+e x)^{11/2}}{11 e^6}+\frac {2 \left (A e \left (6 c^2 d^2-6 b c d e+b^2 e^2\right )-B d \left (10 c^2 d^2-12 b c d e+3 b^2 e^2\right )\right ) (d+e x)^{13/2}}{13 e^6}-\frac {2 \left (2 A c e (2 c d-b e)-B \left (10 c^2 d^2-8 b c d e+b^2 e^2\right )\right ) (d+e x)^{15/2}}{15 e^6}-\frac {2 c (5 B c d-2 b B e-A c e) (d+e x)^{17/2}}{17 e^6}+\frac {2 B c^2 (d+e x)^{19/2}}{19 e^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.20, size = 273, normalized size = 1.02 \begin {gather*} \frac {2 (d+e x)^{9/2} \left (19 A e \left (85 b^2 e^2 \left (8 d^2-36 d e x+99 e^2 x^2\right )+34 b c e \left (-16 d^3+72 d^2 e x-198 d e^2 x^2+429 e^3 x^3\right )+c^2 \left (128 d^4-576 d^3 e x+1584 d^2 e^2 x^2-3432 d e^3 x^3+6435 e^4 x^4\right )\right )+B \left (323 b^2 e^2 \left (-16 d^3+72 d^2 e x-198 d e^2 x^2+429 e^3 x^3\right )+38 b c e \left (128 d^4-576 d^3 e x+1584 d^2 e^2 x^2-3432 d e^3 x^3+6435 e^4 x^4\right )-5 c^2 \left (256 d^5-1152 d^4 e x+3168 d^3 e^2 x^2-6864 d^2 e^3 x^3+12870 d e^4 x^4-21879 e^5 x^5\right )\right )\right )}{2078505 e^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.60, size = 278, normalized size = 1.04 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 308, normalized size = 1.15 \begin {gather*} \frac {2}{2078505} \, {\left (109395 \, {\left (x e + d\right )}^{\frac {19}{2}} B c^{2} - 122265 \, {\left (5 \, B c^{2} d - 2 \, B b c e - A c^{2} e\right )} {\left (x e + d\right )}^{\frac {17}{2}} + 138567 \, {\left (10 \, B c^{2} d^{2} + B b^{2} e^{2} + 2 \, A b c e^{2} - 4 \, {\left (2 \, B b c e + A c^{2} e\right )} d\right )} {\left (x e + d\right )}^{\frac {15}{2}} - 159885 \, {\left (10 \, B c^{2} d^{3} - A b^{2} e^{3} - 6 \, {\left (2 \, B b c e + A c^{2} e\right )} d^{2} + 3 \, {\left (B b^{2} e^{2} + 2 \, A b c e^{2}\right )} d\right )} {\left (x e + d\right )}^{\frac {13}{2}} + 188955 \, {\left (5 \, B c^{2} d^{4} - 2 \, A b^{2} d e^{3} - 4 \, {\left (2 \, B b c e + A c^{2} e\right )} d^{3} + 3 \, {\left (B b^{2} e^{2} + 2 \, A b c e^{2}\right )} d^{2}\right )} {\left (x e + d\right )}^{\frac {11}{2}} - 230945 \, {\left (B c^{2} d^{5} - A b^{2} d^{2} e^{3} - {\left (2 \, B b c e + A c^{2} e\right )} d^{4} + {\left (B b^{2} e^{2} + 2 \, A b c e^{2}\right )} d^{3}\right )} {\left (x e + d\right )}^{\frac {9}{2}}\right )} e^{\left (-6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 545 vs.
\(2 (254) = 508\).
time = 3.95, size = 545, normalized size = 2.04 \begin {gather*} -\frac {2}{2078505} \, {\left (1280 \, B c^{2} d^{9} - 33 \, {\left (3315 \, B c^{2} x^{9} + 4845 \, A b^{2} x^{6} + 3705 \, {\left (2 \, B b c + A c^{2}\right )} x^{8} + 4199 \, {\left (B b^{2} + 2 \, A b c\right )} x^{7}\right )} e^{9} - 6 \, {\left (62205 \, B c^{2} d x^{8} + 96900 \, A b^{2} d x^{5} + 70642 \, {\left (2 \, B b c + A c^{2}\right )} d x^{7} + 81719 \, {\left (B b^{2} + 2 \, A b c\right )} d x^{6}\right )} e^{8} - 2 \, {\left (216645 \, B c^{2} d^{2} x^{7} + 369835 \, A b^{2} d^{2} x^{4} + 251427 \, {\left (2 \, B b c + A c^{2}\right )} d^{2} x^{6} + 299421 \, {\left (B b^{2} + 2 \, A b c\right )} d^{2} x^{5}\right )} e^{7} - 4 \, {\left (43230 \, B c^{2} d^{3} x^{6} + 85595 \, A b^{2} d^{3} x^{3} + 51813 \, {\left (2 \, B b c + A c^{2}\right )} d^{3} x^{5} + 64600 \, {\left (B b^{2} + 2 \, A b c\right )} d^{3} x^{4}\right )} e^{6} - 5 \, {\left (63 \, B c^{2} d^{4} x^{5} + 969 \, A b^{2} d^{4} x^{2} + 133 \, {\left (2 \, B b c + A c^{2}\right )} d^{4} x^{4} + 323 \, {\left (B b^{2} + 2 \, A b c\right )} d^{4} x^{3}\right )} e^{5} + 2 \, {\left (175 \, B c^{2} d^{5} x^{4} + 3230 \, A b^{2} d^{5} x + 380 \, {\left (2 \, B b c + A c^{2}\right )} d^{5} x^{3} + 969 \, {\left (B b^{2} + 2 \, A b c\right )} d^{5} x^{2}\right )} e^{4} - 8 \, {\left (50 \, B c^{2} d^{6} x^{3} + 1615 \, A b^{2} d^{6} + 114 \, {\left (2 \, B b c + A c^{2}\right )} d^{6} x^{2} + 323 \, {\left (B b^{2} + 2 \, A b c\right )} d^{6} x\right )} e^{3} + 16 \, {\left (30 \, B c^{2} d^{7} x^{2} + 76 \, {\left (2 \, B b c + A c^{2}\right )} d^{7} x + 323 \, {\left (B b^{2} + 2 \, A b c\right )} d^{7}\right )} e^{2} - 128 \, {\left (5 \, B c^{2} d^{8} x + 19 \, {\left (2 \, B b c + A c^{2}\right )} d^{8}\right )} e\right )} \sqrt {x e + d} e^{\left (-6\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 1352 vs.
\(2 (272) = 544\).
time = 0.97, size = 1352, normalized size = 5.06 \begin {gather*} \begin {cases} \frac {16 A b^{2} d^{6} \sqrt {d + e x}}{1287 e^{3}} - \frac {8 A b^{2} d^{5} x \sqrt {d + e x}}{1287 e^{2}} + \frac {2 A b^{2} d^{4} x^{2} \sqrt {d + e x}}{429 e} + \frac {424 A b^{2} d^{3} x^{3} \sqrt {d + e x}}{1287} + \frac {916 A b^{2} d^{2} e x^{4} \sqrt {d + e x}}{1287} + \frac {80 A b^{2} d e^{2} x^{5} \sqrt {d + e x}}{143} + \frac {2 A b^{2} e^{3} x^{6} \sqrt {d + e x}}{13} - \frac {64 A b c d^{7} \sqrt {d + e x}}{6435 e^{4}} + \frac {32 A b c d^{6} x \sqrt {d + e x}}{6435 e^{3}} - \frac {8 A b c d^{5} x^{2} \sqrt {d + e x}}{2145 e^{2}} + \frac {4 A b c d^{4} x^{3} \sqrt {d + e x}}{1287 e} + \frac {640 A b c d^{3} x^{4} \sqrt {d + e x}}{1287} + \frac {824 A b c d^{2} e x^{5} \sqrt {d + e x}}{715} + \frac {184 A b c d e^{2} x^{6} \sqrt {d + e x}}{195} + \frac {4 A b c e^{3} x^{7} \sqrt {d + e x}}{15} + \frac {256 A c^{2} d^{8} \sqrt {d + e x}}{109395 e^{5}} - \frac {128 A c^{2} d^{7} x \sqrt {d + e x}}{109395 e^{4}} + \frac {32 A c^{2} d^{6} x^{2} \sqrt {d + e x}}{36465 e^{3}} - \frac {16 A c^{2} d^{5} x^{3} \sqrt {d + e x}}{21879 e^{2}} + \frac {14 A c^{2} d^{4} x^{4} \sqrt {d + e x}}{21879 e} + \frac {2424 A c^{2} d^{3} x^{5} \sqrt {d + e x}}{12155} + \frac {1604 A c^{2} d^{2} e x^{6} \sqrt {d + e x}}{3315} + \frac {104 A c^{2} d e^{2} x^{7} \sqrt {d + e x}}{255} + \frac {2 A c^{2} e^{3} x^{8} \sqrt {d + e x}}{17} - \frac {32 B b^{2} d^{7} \sqrt {d + e x}}{6435 e^{4}} + \frac {16 B b^{2} d^{6} x \sqrt {d + e x}}{6435 e^{3}} - \frac {4 B b^{2} d^{5} x^{2} \sqrt {d + e x}}{2145 e^{2}} + \frac {2 B b^{2} d^{4} x^{3} \sqrt {d + e x}}{1287 e} + \frac {320 B b^{2} d^{3} x^{4} \sqrt {d + e x}}{1287} + \frac {412 B b^{2} d^{2} e x^{5} \sqrt {d + e x}}{715} + \frac {92 B b^{2} d e^{2} x^{6} \sqrt {d + e x}}{195} + \frac {2 B b^{2} e^{3} x^{7} \sqrt {d + e x}}{15} + \frac {512 B b c d^{8} \sqrt {d + e x}}{109395 e^{5}} - \frac {256 B b c d^{7} x \sqrt {d + e x}}{109395 e^{4}} + \frac {64 B b c d^{6} x^{2} \sqrt {d + e x}}{36465 e^{3}} - \frac {32 B b c d^{5} x^{3} \sqrt {d + e x}}{21879 e^{2}} + \frac {28 B b c d^{4} x^{4} \sqrt {d + e x}}{21879 e} + \frac {4848 B b c d^{3} x^{5} \sqrt {d + e x}}{12155} + \frac {3208 B b c d^{2} e x^{6} \sqrt {d + e x}}{3315} + \frac {208 B b c d e^{2} x^{7} \sqrt {d + e x}}{255} + \frac {4 B b c e^{3} x^{8} \sqrt {d + e x}}{17} - \frac {512 B c^{2} d^{9} \sqrt {d + e x}}{415701 e^{6}} + \frac {256 B c^{2} d^{8} x \sqrt {d + e x}}{415701 e^{5}} - \frac {64 B c^{2} d^{7} x^{2} \sqrt {d + e x}}{138567 e^{4}} + \frac {160 B c^{2} d^{6} x^{3} \sqrt {d + e x}}{415701 e^{3}} - \frac {140 B c^{2} d^{5} x^{4} \sqrt {d + e x}}{415701 e^{2}} + \frac {14 B c^{2} d^{4} x^{5} \sqrt {d + e x}}{46189 e} + \frac {2096 B c^{2} d^{3} x^{6} \sqrt {d + e x}}{12597} + \frac {404 B c^{2} d^{2} e x^{7} \sqrt {d + e x}}{969} + \frac {116 B c^{2} d e^{2} x^{8} \sqrt {d + e x}}{323} + \frac {2 B c^{2} e^{3} x^{9} \sqrt {d + e x}}{19} & \text {for}\: e \neq 0 \\d^{\frac {7}{2}} \left (\frac {A b^{2} x^{3}}{3} + \frac {A b c x^{4}}{2} + \frac {A c^{2} x^{5}}{5} + \frac {B b^{2} x^{4}}{4} + \frac {2 B b c x^{5}}{5} + \frac {B c^{2} x^{6}}{6}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 2710 vs.
\(2 (254) = 508\).
time = 1.05, size = 2710, normalized size = 10.15 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.62, size = 254, normalized size = 0.95 \begin {gather*} \frac {{\left (d+e\,x\right )}^{17/2}\,\left (2\,A\,c^2\,e-10\,B\,c^2\,d+4\,B\,b\,c\,e\right )}{17\,e^6}+\frac {{\left (d+e\,x\right )}^{13/2}\,\left (-6\,B\,b^2\,d\,e^2+2\,A\,b^2\,e^3+24\,B\,b\,c\,d^2\,e-12\,A\,b\,c\,d\,e^2-20\,B\,c^2\,d^3+12\,A\,c^2\,d^2\,e\right )}{13\,e^6}+\frac {{\left (d+e\,x\right )}^{15/2}\,\left (2\,B\,b^2\,e^2-16\,B\,b\,c\,d\,e+4\,A\,b\,c\,e^2+20\,B\,c^2\,d^2-8\,A\,c^2\,d\,e\right )}{15\,e^6}+\frac {2\,B\,c^2\,{\left (d+e\,x\right )}^{19/2}}{19\,e^6}-\frac {2\,d\,\left (b\,e-c\,d\right )\,{\left (d+e\,x\right )}^{11/2}\,\left (2\,A\,b\,e^2+5\,B\,c\,d^2-4\,A\,c\,d\,e-3\,B\,b\,d\,e\right )}{11\,e^6}+\frac {2\,d^2\,\left (A\,e-B\,d\right )\,{\left (b\,e-c\,d\right )}^2\,{\left (d+e\,x\right )}^{9/2}}{9\,e^6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________